package com.heihei.itextdemo.mapper;

import com.heihei.itextdemo.entity.MajorEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 专业 Mapper 接口
 * </p>
 *
 * @author duanhengfei
 * @since 2020-12-04
 */
@Mapper
public interface MajorMapper extends BaseMapper<MajorEntity> {

    /**
     * 获取专业-班级-学生树结构
     */
    List<MajorEntity> getTree();
}
